Auto merge of #3928 - andwur:version-not-found-error-msgs, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 18 Apr 2017 06:12:37 +0000 (06:12 +0000)
committerbors <bors@rust-lang.org>
Tue, 18 Apr 2017 06:12:37 +0000 (06:12 +0000)
commit770512b08fb2985aed6f06311f1c58ed587fa259
treeb0984a8e9f661352c5ecf33a7454a994c8e4a9bf
parent01d403f34d34b63815785cdac4391cc41df6280f
parentf2b7fd73a93a88c2864f2c068f76316f83bfd850
Auto merge of #3928 - andwur:version-not-found-error-msgs, r=alexcrichton

Better error message when a package version is not found

This changes the error message when a package *is* found but there's no
matching version to be a little more helpful.

Old: "no matching package named `<dep name>`"
New: "no matching version `<version>` found for package `<dep name>`"

Fixes #2997
tests/build.rs